package cn.edu.nuc.crm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.nuc.crm.entity.Repay;

public interface RepayMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Repay record);

    int insertSelective(Repay record);

    Repay selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Repay record);

    int updateByPrimaryKey(Repay record);

	int getCountId(@Param("accountid")Integer accountid);

	List<Repay> findCountId(@Param("accountid")Integer accountid
			, @Param("start")int start, @Param("offset")int offset);

	List<Repay> findCount(@Param("start")int start, @Param("offset")int offset);

	int getCount();
}